Pragmatic Quotient Types in Coq

نویسنده

  • Cyril Cohen
چکیده

In intensional type theory, it is not always possible to form the quotient of a type by an equivalence relation. However, quotients are extremely useful when formalizing mathematics, especially in algebra. We provide a Coq library with a pragmatic approach in two complementary components. First, we provide a framework to work with quotient types in an axiomatic manner. Second, we program construction mechanisms for some specific cases where it is possible to build a quotient type. This library was helpful in implementing the types of rational fractions, multivariate polynomials, field extensions and real algebraic numbers.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Universal Algebra in Type Theory

We present a development of Universal Algebra inside Type Theory, formalized using the proof assistant Coq. We define the notion of a signature and of an algebra over a signature. We use setoids, i.e. types endowed with an arbitrary equivalence relation, as carriers for algebras. In this way it is possible to define the quotient of an algebra by a congruence. Standard constructions over algebra...

متن کامل

Coq as a Metatheory for Nuprl with Bar Induction

These past few years, we have been experimenting in Nuprl with versions of Brouwer’s Bar Induction principle. Until recently we had no formal proof that these rules are valid Nuprl reasoning principles. Thanks to our formalization of Nuprl’s metatheory in Coq, we can now rigorously check whether these principles are consistent with Nuprl. In this paper we present a proof, using our Coq framewor...

متن کامل

Ëøóöý Ó Ö Áòù Blockinøóò Ò Aeùôöð Îò Blockinòø Êðð 1⋆¸ååö Óö 2 ¸ Òò Êóöø ĺ Óò×øøøðð 2

Abstra t. In order to turn Nuprl's logi into a fully intuitionisti logi , we are urrently experimenting with versions of Brouwer's bar indu tion prin iple. Using our formalization of Nuprl's metatheory in Coq, we have proved the lassi al validity of two su h prin iples: one for sequen es of numbers that involved little hanges to the system, and a more general one for sequen es of losed terms wi...

متن کامل

A Novel Hybrid Approach to Analyze Cost of Quality: Balanced Scorecard and Fuzzy Logic

In this paper, a new methodology in the area of cost of quality (COQ) is proposed to determine the optimal investment allocation to all costs. The goal is to minimize costs involved in achieving a required level of quality. The contribution of this paper is fourfold: (I) considering two types of weights for each part of COQ, in which the first type is determined by the cost volume and the secon...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013